\hypertarget{class_binary_tree_test}{}\section{Binary\+Tree\+Test Class Reference}
\label{class_binary_tree_test}\index{Binary\+Tree\+Test@{Binary\+Tree\+Test}}


\hyperlink{class_binary_tree_test}{Binary\+Tree\+Test}\+:测试类，用于为测试提供基础数据  




{\ttfamily \#include $<$binarytree\+\_\+test.\+h$>$}

Inheritance diagram for Binary\+Tree\+Test\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_binary_tree_test}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef \hyperlink{struct_introduction_to_algorithm_1_1_tree_algorithm_1_1_binary_tree_node}{Binary\+Tree\+Node}$<$ int $>$ \hyperlink{class_binary_tree_test_ad4aa3d3d01bf0b1b820fffa58e81e15b}{Node}
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_binary_tree_test_ab650cb6b7b008479f5294b1ed65871e5}{Binary\+Tree\+Test} ()
\item 
void \hyperlink{class_binary_tree_test_ab718ba725e8099dda414f5dbc11e881b}{Set\+Up} ()
\begin{DoxyCompactList}\small\item\em Set\+Up\+:在每一个测试开始之前执行 \end{DoxyCompactList}\item 
void \hyperlink{class_binary_tree_test_ac8daf6a6b88e89733c0ade6da7d4a897}{Tear\+Down} ()
\begin{DoxyCompactList}\small\item\em Tear\+Down\+:在每一个测试结束之后执行 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{struct_introduction_to_algorithm_1_1_tree_algorithm_1_1_binary_tree}{Binary\+Tree}$<$ \hyperlink{class_binary_tree_test_ad4aa3d3d01bf0b1b820fffa58e81e15b}{Node} $>$ \hyperlink{class_binary_tree_test_a66e48418e5449b663b2608f4914100d5}{\+\_\+empty\+\_\+tree}
\item 
\hyperlink{struct_introduction_to_algorithm_1_1_tree_algorithm_1_1_binary_tree}{Binary\+Tree}$<$ \hyperlink{class_binary_tree_test_ad4aa3d3d01bf0b1b820fffa58e81e15b}{Node} $>$ \hyperlink{class_binary_tree_test_a36a98db1094f92c94b7d7893c8975f57}{\+\_\+normal\+\_\+tree}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_binary_tree_test}{Binary\+Tree\+Test}\+:测试类，用于为测试提供基础数据 

{\ttfamily \hyperlink{class_binary_tree_test}{Binary\+Tree\+Test}}是 {\ttfamily \+::testing\+::\+Test} 的子类。它主要用于为每一个{\ttfamily T\+E\+S\+T\+\_\+\+F}准备测试环境 

Definition at line 37 of file binarytree\+\_\+test.\+h.



\subsection{Member Typedef Documentation}
\hypertarget{class_binary_tree_test_ad4aa3d3d01bf0b1b820fffa58e81e15b}{}\index{Binary\+Tree\+Test@{Binary\+Tree\+Test}!Node@{Node}}
\index{Node@{Node}!Binary\+Tree\+Test@{Binary\+Tree\+Test}}
\subsubsection[{Node}]{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf Binary\+Tree\+Node}$<$int$>$ {\bf Binary\+Tree\+Test\+::\+Node}}\label{class_binary_tree_test_ad4aa3d3d01bf0b1b820fffa58e81e15b}


Definition at line 40 of file binarytree\+\_\+test.\+h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_binary_tree_test_ab650cb6b7b008479f5294b1ed65871e5}{}\index{Binary\+Tree\+Test@{Binary\+Tree\+Test}!Binary\+Tree\+Test@{Binary\+Tree\+Test}}
\index{Binary\+Tree\+Test@{Binary\+Tree\+Test}!Binary\+Tree\+Test@{Binary\+Tree\+Test}}
\subsubsection[{Binary\+Tree\+Test()}]{\setlength{\rightskip}{0pt plus 5cm}Binary\+Tree\+Test\+::\+Binary\+Tree\+Test (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}\label{class_binary_tree_test_ab650cb6b7b008479f5294b1ed65871e5}


Definition at line 42 of file binarytree\+\_\+test.\+h.



\subsection{Member Function Documentation}
\hypertarget{class_binary_tree_test_ab718ba725e8099dda414f5dbc11e881b}{}\index{Binary\+Tree\+Test@{Binary\+Tree\+Test}!Set\+Up@{Set\+Up}}
\index{Set\+Up@{Set\+Up}!Binary\+Tree\+Test@{Binary\+Tree\+Test}}
\subsubsection[{Set\+Up()}]{\setlength{\rightskip}{0pt plus 5cm}void Binary\+Tree\+Test\+::\+Set\+Up (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}\label{class_binary_tree_test_ab718ba725e8099dda414f5dbc11e881b}


Set\+Up\+:在每一个测试开始之前执行 

{\ttfamily Set\+Up}是 {\ttfamily \+::testing\+::\+Test} 的的虚函数。它主要用于为每一个测试提供测试环境 

Definition at line 49 of file binarytree\+\_\+test.\+h.

\hypertarget{class_binary_tree_test_ac8daf6a6b88e89733c0ade6da7d4a897}{}\index{Binary\+Tree\+Test@{Binary\+Tree\+Test}!Tear\+Down@{Tear\+Down}}
\index{Tear\+Down@{Tear\+Down}!Binary\+Tree\+Test@{Binary\+Tree\+Test}}
\subsubsection[{Tear\+Down()}]{\setlength{\rightskip}{0pt plus 5cm}void Binary\+Tree\+Test\+::\+Tear\+Down (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}\label{class_binary_tree_test_ac8daf6a6b88e89733c0ade6da7d4a897}


Tear\+Down\+:在每一个测试结束之后执行 

{\ttfamily Tear\+Down}是 {\ttfamily \+::testing\+::\+Test} 的的虚函数。它主要用于为每个测试销毁测试环境 

Definition at line 89 of file binarytree\+\_\+test.\+h.



\subsection{Member Data Documentation}
\hypertarget{class_binary_tree_test_a66e48418e5449b663b2608f4914100d5}{}\index{Binary\+Tree\+Test@{Binary\+Tree\+Test}!\+\_\+empty\+\_\+tree@{\+\_\+empty\+\_\+tree}}
\index{\+\_\+empty\+\_\+tree@{\+\_\+empty\+\_\+tree}!Binary\+Tree\+Test@{Binary\+Tree\+Test}}
\subsubsection[{\+\_\+empty\+\_\+tree}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Binary\+Tree}$<${\bf Node}$>$ Binary\+Tree\+Test\+::\+\_\+empty\+\_\+tree\hspace{0.3cm}{\ttfamily [protected]}}\label{class_binary_tree_test_a66e48418e5449b663b2608f4914100d5}
一个空的树 

Definition at line 91 of file binarytree\+\_\+test.\+h.

\hypertarget{class_binary_tree_test_a36a98db1094f92c94b7d7893c8975f57}{}\index{Binary\+Tree\+Test@{Binary\+Tree\+Test}!\+\_\+normal\+\_\+tree@{\+\_\+normal\+\_\+tree}}
\index{\+\_\+normal\+\_\+tree@{\+\_\+normal\+\_\+tree}!Binary\+Tree\+Test@{Binary\+Tree\+Test}}
\subsubsection[{\+\_\+normal\+\_\+tree}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Binary\+Tree}$<${\bf Node}$>$ Binary\+Tree\+Test\+::\+\_\+normal\+\_\+tree\hspace{0.3cm}{\ttfamily [protected]}}\label{class_binary_tree_test_a36a98db1094f92c94b7d7893c8975f57}
一个非空的数 

Definition at line 92 of file binarytree\+\_\+test.\+h.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/tree\+\_\+algorithms/binarytree/\hyperlink{binarytree__test_8h}{binarytree\+\_\+test.\+h}\end{DoxyCompactItemize}
